package Day21;

public class Computer {
    private String cpu;
    private String contains;

    public Computer(String cpu, String contains) {
        this.cpu = cpu;
        this.contains = contains;
    }

    public Computer() {
    }

    public String getCpu() {
        return cpu;
    }

    public void setCpu(String cpu) {
        this.cpu = cpu;
    }

    public String getContains() {
        return contains;
    }

    public void setContains(String contains) {
        this.contains = contains;
    }

    public void getDetails(){
        System.out.println("cpu = " +getCpu() + ", contains = " + getContains()+ ". " );
    }


}
